//
//  KqImageTool.h
//  kq_flutter_widgets
//
//  Created by wtb on 2023/4/7.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface KqImageTool : NSObject

//压缩图片
+(NSData *)kqQualityCompressData:(NSData *)imageData;

//压缩图片
+(NSData *)kqQualityCompressImage:(UIImage *)img;

//获取图片格式
+ (NSString *)kqImageTypeWithData:(NSData *)data;
@end

NS_ASSUME_NONNULL_END
